package com.security.system.dao;

import com.security.system.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface SysUserDao {

    /*根据 用户账号 查询 用户及权限*/
    SysUser findSysUserByName(@Param("username") String username);

    SysUser findSysUserByMobile(Map<String, Object> param);

}